﻿#pragma once
#include "afxdialogex.h"


// CAddDlg 对话框

class CAddDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CAddDlg)

public:
	CAddDlg(CWnd* pParent = nullptr);   // 标准构造函数
	CAddDlg(const CAddDlg& pDlg);//复制构造函数
	CAddDlg& operator=(const CAddDlg& pDlg);//赋值运算符重载

	virtual ~CAddDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_ADD_DIALOG };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CString m_name;
	BOOL m_sex;
	CString m_department;
	CString m_job;
	long m_jobid;
	CSpinButtonCtrl m_spinButton;
	COleDateTime m_entyTime;
	int m_salary;
	CString m_tel;
	CString m_adress;
	int m_age;
	BOOL m_sing;
	BOOL m_dance;
	BOOL m_rap;
	CString m_interest;

public:
	afx_msg void OnBnClickedOk();
	virtual BOOL OnInitDialog();

};
